<div id="sidebar_right">

<?php if($hotProductListSameShop) { ?>

	<div id="hot_product">
    	<div class="hot_product_t"></div>
        <div class="hot_product_box">
        	<ul>
        	
        	<?php
				foreach( $hotProductListSameShop as $product ) {
			?>

            	<li>
            	 <a href="<?php echo edp_href_link(PAGENAME_PRODUCT_INFO,'pid='.$product['id']);?>">
            	  <img src="<?php echo $product['pic_path'];?>" width="50" height="50" alt="<?php secho( $product['product_name'] ); ?>的Logo" />
				 </a>               	  
            	  <div class="hot_pro_detail">
					<a href="<?php echo edp_href_link(PAGENAME_PRODUCT_INFO,'pid='.$product['id']);?>">
						<?php secho( $product['product_name'] ); ?>
					</a>               
			      </div>
                <div style="clear:both"></div>
                </li>
		    <?php
				}
			?>        
                
            </ul>
        </div>
        <div class="btm"></div>
    </div>
  <?php }?>  
    
    
<?php if($hotProductListSameCate) { ?>    
	<div id="hot_product_same_cate">
    	<div class="hot_product_same_cate_t"></div>
        <div class="hot_product_same_cate_box">
        	<ul>
			 <?php
				foreach( $hotProductListSameCate as $product ) {
			?>       	
        	
            	<li>
                <a href="<?php echo edp_href_link(PAGENAME_PRODUCT_INFO,'pid='.$product['id']);?>">
            	  <img src="<?php echo $product['pic_path'];?>" width="50" height="50" alt="<?php secho( $product['product_name'] ); ?>的Logo" />
				</a>                	  
                <div class="hot_pro_detail">
				<a href="<?php echo edp_href_link(PAGENAME_PRODUCT_INFO,'pid='.$product['id']);?>">
					<?php secho( $product['product_name'] ); ?>
				</a>                
				</div>
                <div style="clear:both"></div>
                </li>
			  <?php
				}
			?>                             
            </ul>
        </div>
        <div class="btm"></div>
    </div>
<?php }?>    
    
  <?php if($realtedList) {?>
    
	<div id="hot_product_list">
    	<div class="hot_product_list_t">收录该商品的评单</div>
        <div class="hot_product_list_box">
        	<ul>
			 <?php
			   foreach( $realtedList as $list ) {
			 ?>       	
            	<li>
				<a href="<?php echo edp_href_link(PAGENAME_LIST_INFO,'lid='.$list['id']);?>">
						<?php secho( $list['title'] ); ?>
				</a>
            	</li>
            <?php }?>
            </ul>
        </div>
        <div class="btm"></div>
    </div>
   <?php }?> 
     
    <div class="ad_pic">
    </div>
</div>
